import {
    request
} from "./request";
import qs from "qs";


//   添加 采购入库
export function addInStock(obj) {
    return request({
        url: "inStock/addInStock",
        method: "post",
        data: obj
    });
}

// 获取 采购入库 列表
export function getInStock(obj) {
    return request({
        url: "inStock/getInStock",
        method: "post",
        data: qs.stringify(obj)
    });
}

// 获取  入库单详情·
export function getInStockItem(obj) {
    return request({
        url: "inStock/getInStockItem",
        method: "post",
        data: qs.stringify(obj)
    });
}
// 获取  入库单审核
export function applyInStockItem(obj) {
    return request({
        url: "inStock/applyInStockItem",
        method: "post",
        data: qs.stringify(obj)
    });
}
